package com.cloud.salon.common.base.entity.business;

import com.cloud.salon.common.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Description 理发项目
 * @Author wolf--LZH
 * @CreateDate 2019/4/21 0021 下午 7:36
 */
@Data
@Entity
@Table(name="item")
public class Item extends BaseEntity {

    // 项目名称
    @Column(nullable = false, length = 50)
    private String name;
    // 项目描述
    @Column(nullable = false, length = 255)
    private String description;
    // 项目单价
    @Column(nullable = false)
    private Double price;

}
